package com.yzd.xander.service.impl;

import com.yzd.xander.dao.HistoryDao;
import com.yzd.xander.entity.History;
import com.yzd.xander.service.HistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by YE on 2018-06-07.
 */
@Service("historyService")
public class HistoryServiceImpl implements HistoryService {

    @Autowired
    private HistoryDao historyDao;

    @Override
    public int addHistory(History history) {
        return historyDao.addHistory(history);
    }

}
